class {{getName name}} extends HTMLElement {
  constructor() {
    super();

    var templateElem = document.getElementById('component-{{name}}');
    var content = templateElem.content.cloneNode(true);
    this.appendChild(content);
  }
}
window.customElements.define('{{name}}', {{getName name}});